const isDevelopment = process.env.NODE_ENV === 'development'

let hostPrefix
let apiPrefix

if (isDevelopment) {
  // hostPrefix = 'https://www.xnbz.site'
  // apiPrefix = 'https://localhost'

  // hostPrefix = 'https://www.xnbz.site'
  // apiPrefix = 'https://www.xnbz.site/api'
  hostPrefix = 'http://192.168.0.101:6166'
  apiPrefix = 'http://192.168.0.101:6166/api'

} else {
  hostPrefix = 'https://www.xnbz.site'
  apiPrefix = 'https://www.xnbz.site/api'
}

module.exports = {
  hostPrefix,
  apiPrefix,
}
